package cn.fintecher.pangolin.service.business.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.LinkedHashMap;
import java.util.Map;

/**
 * @Author wangxiangdong
 * @Description 分配后的model
 * @Date 2019/9/4 11:33
 **/
@Data
public class DistributeResultModel {

    @ApiModelProperty(notes = "分配到的id")
    private String id;

    @ApiModelProperty(notes = "分配到的名字")
    private String name;

    @ApiModelProperty(notes = "分配数量上限")
    private Long limitNum;

    @ApiModelProperty(notes = "分配金额上限")
    private Double limitAmt;

    @ApiModelProperty(notes = "分配数量")
    private Long caseNumTotal=0L;

    @ApiModelProperty(notes = "分配金额")
    private Double leftAmtTotal=new Double(0);

    @ApiModelProperty(notes = "百分比")
    private Double perNum;

    @ApiModelProperty(notes = "分配的案件ID")
    private Map<String,Double> resultMap=new LinkedHashMap<>();
}
